package com.proxy;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class StarHandler implements InvocationHandler{

	private Object star;
	
	public StarHandler(Star star) {
		super();
		this.star = star;
	}
	
	@Override
	public Object invoke(Object proxy, Method method, Object[] args)
			throws Throwable {
		method.invoke(star, args);
		return null;
	}

}
